//
// Created by caijinglong on 2017/7/16.
// Copyright (c) 2017 Facebook. All rights reserved.
//

#import <React/RCTView.h>
#import <React/RCTRootView.h>
#import "RCTViewDelegate.h"
#import "RootViewController.h"


@implementation RCTViewDelegate {

}
+ (RCTViewDelegate *)instanceWithRctView:(RCTRootView *)view rootViewController:(RootViewController *)rootViewController {
    RCTViewDelegate *delegate = [RCTViewDelegate new];
    delegate.viewController = rootViewController;
    delegate.view = view;
    return delegate;
}

@end